package com.gxar.quick.ar.server.base.model.user.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author linsy
 * @version 1.0
 * @created 2024/3/4 09:40
 */
@Data
@ApiModel(value = "用户兑换品导入")
public class UserExchangeItemImportVO implements Serializable {

    private static final long serialVersionUID = 6038555293523237852L;
    
    @ApiModelProperty("用户手机号")
    @JSONField(name = "phone")
    @ExcelProperty(value = "用户手机号")
    @NotNull(message = "为空")
    private String phone;

    @ApiModelProperty("兑换品ID")
    @JSONField(name = "code")
    @ExcelProperty(value = "兑换品ID")
    @NotNull(message = "为空")
    private String code;

}
